package com.hutao.medical.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class MedParams {
	
	private String guid;
	private String name;
	private String  idNumber;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startTime;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date outTime;
	private Integer hospitalId;
	private Integer outDeptId;
	private String treatementNo;
	
	private Integer pageNo=0;
	private Integer pageSize=10;
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIdNumber() {
		return idNumber;
	}
	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getOutTime() {
		return outTime;
	}
	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}
	public Integer getHospitalId() {
		return hospitalId;
	}
	public void setHospitalId(Integer hospitalId) {
		this.hospitalId = hospitalId;
	}
	public Integer getOutDeptId() {
		return outDeptId;
	}
	public void setOutDeptId(Integer outDeptId) {
		this.outDeptId = outDeptId;
	}
	public String getTreatementNo() {
		return treatementNo;
	}
	public void setTreatementNo(String treatementNo) {
		this.treatementNo = treatementNo;
	}
	public Integer getPageNo() {
		return pageNo*pageSize;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return (pageNo+1)*pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	

	
	
	

}
